ngl: Drop gsk_ngl_render_job_set_color
authorMatthias Clasen <mclasen@redhat.com>
Sat, 13 Mar 2021 19:29:34 +0000 (14:29 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 14 Mar 2021 20:49:31 +0000 (16:49 -0400)
commit4aa570ba8865ca1862456b21d219b69757378123
tree31c6a0af50c845400dbda42ad802c7ef1fa3be4c
parent233969e9e4240ac03be67f037587390cb0eec1d9
ngl: Drop gsk_ngl_render_job_set_color

Colors are not state that we carry across draw ops,
so setting the color on the render job doesn't make
much sense. Instead, pass the color to the various
draw calls. Add a few new ones for that purpose.

Also, shorten the names of some by going from
'load_vertices_from_offscreen' to 'draw_offscreen'.
gsk/ngl/gsknglrenderjob.c